package com.qst.service;

import java.util.List;

import com.qst.pojo.User;

public interface UserService {

	 public User login(User user) throws Exception;

	 public boolean insert(User user) throws Exception;

	 public User getUser( Integer id) throws  Exception;

	 public void updateUser( User user) throws  Exception;


	 //	 old
	 public List<User> userList() throws Exception;

	 public User selectByUserName(String username) throws Exception;

}
